﻿using _自定义Compare.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _自定义Compare
{
    class Program
    {
        static void Main(string[] args)
        {
            #region 实体数据构建
            List<Student> students = new List<Student>()
            {
                new Student(){ Id=1, Name="李明", Birthday=DateTime.Now.AddYears(-25), Sex="男" },
                new Student(){ Id=2, Name="李红", Birthday=DateTime.Now.AddYears(-22), Sex="女" },
                new Student(){ Id=3, Name="王磊", Birthday=DateTime.Now.AddYears(-26), Sex="男" },
            };

            List<Course> courses = new List<Course>()
            {
                new Course(){ Id=1, CourseName="语文", TearchId=3 },
                new Course(){ Id=2, CourseName="数学", TearchId=1 }
            };


            List<Sc> scs = new List<Sc>()
            {
                new Sc(){ CourseId=1, StuId=1, Score=85 },
                new Sc(){ CourseId=1, StuId=2, Score=76 },
                new Sc(){ CourseId=2, StuId=1, Score=89 },
                new Sc(){ CourseId=2, StuId=2, Score=66 },
                new Sc(){ CourseId=3, StuId=1, Score=98 },
                new Sc(){ CourseId=3, StuId=2, Score=62 }
            };
            #endregion

        }
    }

}
